using System;
using System.Collections.Generic;
using System.Text;
using CMS.BIZ;
using AAM.DAL;
using AAM.BIZ;
using AAM.SQL;

namespace CMS.BOP
{
    public class SqlBizMessageFolderProvider : SqlBizObjectProvider<BizMessageFolder>
    {
        public BizMessageFolder Read(int folderId)
        {
            return Read(new ObjectID(BizMessageFolder.ObjectType, new object[] { folderId }));
        }
        public bool Delete(int folderId)
        {
            return Delete(new ObjectID(BizMessageFolder.ObjectType,new object[]{ folderId }));
        }
    }
}
